﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.MVC
{
    public class Bill1IndexModel
    {
        public int ID { get; set; }
        public int GoodsID { get; set; }
        public string GoodsName { get; set; }
        public string GoodsCode { get; set; }
        public string GoodsModel { get; set; }
        public int SourceGoodsID { get; set; }
        public string SourceGoodsName { get; set; }
        public string SourceGoodsCode { get; set; }
        public string SourceGoodsModel { get; set; }
        public string Code { get; set; }
        public decimal TouQty { get; set; }
        public string Number { get; set; }
        public string LingDate { get; set; }
        public string LingMan { get; set; }
        public int LingUserID { get; set; }
        public string TouDate { get; set; }
        public string TouMan { get; set; }
        public int TouUserID { get; set; }
        public string DianZhu { get; set; }
        public string HuoYuanHao { get; set; }
        public string JianYanHao { get; set; }
        public int MoBanID { get; set; }
        public string ZhengBei { get; set; }
        public string DengJi { get; set; }
        public string WaiXing { get; set; }
        public int State { get; set; }
        public string BigClassID { get; set; }
        public string XinPianMianJi { get; set; } = "";
        public Bill1IndexModel()
        {
            ID = 0;
            GoodsID = 0;
            GoodsName = "";
            GoodsModel = "";
            GoodsCode = "";
            SourceGoodsID = 0;
            SourceGoodsCode = "";
            SourceGoodsModel = "";
            SourceGoodsName = "";
            Code = "";
            TouQty = 0;
            Number = "";
            LingDate = "";
            LingMan = "";
            TouDate = "";
            TouMan = "";
            DianZhu = "";
            HuoYuanHao = "";
            JianYanHao = "";
            MoBanID = 0;
            ZhengBei = "";
            DengJi = "";
            WaiXing = "";
            State = 0;
            BigClassID = "";
        }
    }
    public class Bill1DetailsModel
    {
        public int ID { get; set; }
        public int BillProcedureID { get; set; }
        public int ProcedureID { get; set; }
        public decimal InQty { get; set; }
        public decimal FanQty { get; set; }
        public decimal OutQty { get; set; }
        public decimal FailQty { get; set; }
        public string FailRemark { get; set; }
        public int TaskTime { get; set; }
        public string GongYi { get; set; }
        public int OperatorUserID { get; set; }
        public string Operator { get; set; }
        public int CheckUserID { get; set; }
        public string CheckMan { get; set; }
        public string CreateDate { get; set; }
        public string WenDu { get; set; }
        public string ShiDu { get; set; }
        public string Remark { get; set; }
        public string BeginDate { get; set; }
        public string EndDate { get; set; }
        public int GongYiID { get; set; }
        public Bill1DetailsModel()
        {
            ID = 0;
            BillProcedureID = 0;
            ProcedureID = 0;
            InQty = 0;
            FanQty = 0;
            OutQty = 0;
            FailQty = 0;
            FailRemark = "";
            TaskTime = 0;
            GongYi = "";
            Operator = "";
            CheckMan = "";
            CreateDate = DateTime.Now.ToString("yyyy-MM-dd");
            WenDu = "";
            ShiDu = "";
            Remark = "";
            GongYiID = 0;
        }
    }

    public class Bill2IndexModel
    {
        public int ID { get; set; }
        public int BillIndex1ID { get; set; }
        public int GoodsID { get; set; }
        public string GoodsName { get; set; }
        public string GoodsCode { get; set; }
        public string GoodsModel { get; set; }
        public string GoodsSize { get; set; }
        public int SourceGoodsID { get; set; }
        public string SourceGoodsName { get; set; }
        public string SourceGoodsCode { get; set; }
        public string SourceGoodsModel { get; set; }
        public string SourceGoodsSize { get; set; }
        public string Code { get; set; }
        public decimal TouQty { get; set; }
        public string ZhengBei { get; set; }
        public string LingDate { get; set; }
        public string LingMan { get; set; }
        public int LingUserID { get; set; }
        public string TouDate { get; set; }
        public string TouMan { get; set; }
        public string DengJi { get; set; }
        public string WaiXing { get; set; }
        public int TouUserID { get; set; }
        public decimal SheQty { get; set; }
        public int MoBanID { get; set; }
        public int State { get; set; }
        public string ChengRate { get; set; }
        public string XinPianMianJi { get; set; } = "";
        public decimal DaiJianQty { get; set; } = 0;
        public decimal InStockQty { get; set; } = 0;
        public decimal SaleQty { get; set; } = 0;
        public decimal YanZhengFailQty { get; set; } = 0;
        public Bill2IndexModel()
        {
            ID = 0;
            GoodsID = 0;
            GoodsName = "";
            GoodsModel = "";
            GoodsCode = "";
            SourceGoodsID = 0;
            SourceGoodsCode = "";
            SourceGoodsModel = "";
            SourceGoodsName = "";
            Code = "";
            TouQty = 0;
            ZhengBei = "";
            LingDate = "";
            LingMan = "";
            TouDate = "";
            TouMan = "";
            DengJi = "";
            WaiXing = "";
            SheQty = 0;
            MoBanID = 0;
            ChengRate = "";
            BillIndex1ID = 0;
        }
    }
    public class Bill2DetailsModel
    {
        public int ID { get; set; }
        public int BillProcedureID { get; set; }
        public int ProcedureID { get; set; }
        public int GongYiID { get; set; }
        public decimal InQty { get; set; }
        public decimal FanQty { get; set; }
        public decimal OutQty { get; set; }
        public decimal FailQty { get; set; }
        public string FailRemark { get; set; }
        public int TaskTime { get; set; }
        public string GongYi { get; set; }
        public int OperatorUserID { get; set; }
        public string Operator { get; set; }
        public int CheckUserID { get; set; }
        public string CheckMan { get; set; }
        public string CreateDate { get; set; }
        public string WenDu { get; set; }
        public string ShiDu { get; set; }
        public string Remark { get; set; }
        public string BeginDate { get; set; }
        public string EndDate { get; set; }
        public Bill2DetailsModel()
        {
            ID = 0;
            BillProcedureID = 0;
            ProcedureID = 0;
            GongYiID = 0;
            InQty = 0;
            FanQty = 0;
            OutQty = 0;
            FailQty = 0;
            FailRemark = "";
            TaskTime = 0;
            GongYi = "";
            Operator = "";
            CheckMan = "";
            CreateDate = DateTime.Now.ToString("yyyy-MM-dd");
            WenDu = "";
            ShiDu = "";
            Remark = "";
        }
    }

    public class Bill3IndexModel
    {
        public int ID { get; set; }
        public int GoodsID { get; set; }
        public string GoodsName { get; set; }
        public string GoodsCode { get; set; }
        public string GoodsModel { get; set; }
        public int SourceGoodsID { get; set; }
        public string SourceGoodsName { get; set; }
        public string SourceGoodsCode { get; set; }
        public string SourceGoodsModel { get; set; }
        public string Code { get; set; }
        public int Qty { get; set; }
        public int BiaoZhunQty { get; set; }
        public string Number { get; set; }
        public string GuanKe { get; set; }
        public string HanLiao { get; set; }
        public string JiaoTi { get; set; }
        public string QiTa { get; set; }
        public string NeiYinXian { get; set; }
        public string StateName { get; set; }
        public int State { get; set; }
        public string CreateDate { get; set; }
        public string DengJi { get; set; }
        public string WaiXing { get; set; }
        public string XuFangDaiHao { get; set; }
        public string JiHuaHao { get; set; }
        public string HeTongCode { get; set; }
        public decimal HeTongCount { get; set; }
        public int MoBanID { get; set; }
        public string JiaoFuDate { get; set; }
        public decimal JiaoFuQty { get; set; }
        public string JiaoFuModel { get; set; }
        public decimal FailQty { get; set; }
        public int JiHuaOrderID { get; set; }
        public string JiHuaOrderCode { get; set; }
        public string GuiFanHao { get; set; }
        public string JianZhiYanShou { get; set; }
        public string WenJianBianHao { get; set; }
        public decimal JiHuaQty { get; set; }
        public Bill3IndexModel()
        {
            ID = 0;
            GoodsID = 0;
            GoodsName = "";
            GoodsModel = "";
            GoodsCode = "";
            SourceGoodsID = 0;
            SourceGoodsCode = "";
            SourceGoodsModel = "";
            SourceGoodsName = "";
            Code = "";
            Qty = 0;
            Number = "";
            GuanKe = "";
            HanLiao = "";
            JiaoTi = "";
            QiTa = "";
            NeiYinXian = "";
            State = 0;
            StateName = "";
            CreateDate = "";
            MoBanID = 0;
            DengJi = "";
            WaiXing = "";
            XuFangDaiHao = "";
            JiHuaHao = "";
            HeTongCode = "";
            HeTongCount = 0;
            JiaoFuDate = "";
            FailQty = 0;
            JiaoFuQty = 0;
            JiaoFuModel = "";
            JiHuaOrderCode = "";
            JianZhiYanShou = "";
            GuiFanHao = "";
            WenJianBianHao = "";
            JiHuaOrderID = 0;
        }
    }
    public class Bill3DetailsModel
    {
        public int ID { get; set; }
        public int BillProcedureID { get; set; }
        public int ProcedureID { get; set; }
        public int GongYiID { get; set; }
        public int InQty { get; set; }
        public int FanQty { get; set; }
        public int OutQty { get; set; }
        public int FailQty { get; set; }
        public string FailRemark { get; set; }
        public int TaskTime { get; set; }
        public string GongYi { get; set; }
        public int OperatorUserID { get; set; }
        public string Operator { get; set; }
        public int CheckUserID { get; set; }
        public string CheckMan { get; set; }
        public string CheckRemark { get; set; }
        public string CreateDate { get; set; }
        public string SheBei { get; set; }
        public string TiaoJian { get; set; }
        public string Remark { get; set; }
        public string BeginDate { get; set; }
        public string EndDate { get; set; }
        public Bill3DetailsModel()
        {
            ID = 0;
            BillProcedureID = 0;
            ProcedureID = 0;
            GongYiID = 0;
            InQty = 0;
            FanQty = 0;
            OutQty = 0;
            FailQty = 0;
            FailRemark = "";
            TaskTime = 0;
            GongYi = "";
            Operator = "";
            CheckMan = "";
            CreateDate = DateTime.Now.ToString("yyyy-MM-dd");
            CheckRemark = "";
            CheckUserID=0;
            Remark = "";
            SheBei = "";
            TiaoJian = "";
        }
    }

    public class Bill4IndexModel
    {
        public int ID { get; set; }
        public int GoodsID { get; set; }
        public string GoodsName { get; set; }
        public string GoodsCode { get; set; }
        public string GoodsModel { get; set; }
        public int SourceGoodsID { get; set; }
        public string SourceGoodsName { get; set; }
        public string SourceGoodsCode { get; set; }
        public string SourceGoodsModel { get; set; }
        public string Code { get; set; }
        public int Qty { get; set; }
        public string Number { get; set; }
        public string DengJi { get; set; }
        public string WaiXing { get; set; }
        public string ShaiXuan { get; set; }
        public string StateName { get; set; }
        public int State { get; set; }
        public string CreateDate { get; set; }
        public int MoBanID { get; set; }
        public int BillIndex3ID { get; set; }
        public int JiHuaOrderID { get; set; }
        public Bill4IndexModel()
        {
            ID = 0;
            GoodsID = 0;
            GoodsName = "";
            GoodsModel = "";
            GoodsCode = "";
            SourceGoodsID = 0;
            SourceGoodsCode = "";
            SourceGoodsModel = "";
            SourceGoodsName = "";
            Code = "";
            Qty = 0;
            Number = "";
            DengJi = "";
            WaiXing = "";
            State = 0;
            StateName = "";
            CreateDate = "";
            ShaiXuan = "";
            MoBanID = 0;
            BillIndex3ID = 0;
        }
    }
    public class Bill4DetailsModel
    {
        public int ID { get; set; }
        public int BillProcedureID { get; set; }
        public int ProcedureID { get; set; }
        public int GongYiID { get; set; }
        public int InQty { get; set; }
        public int FanQty { get; set; }
        public int OutQty { get; set; }
        public int FailQty { get; set; }
        public string FailRemark { get; set; }
        public int TaskTime { get; set; }
        public string GongYi { get; set; }
        public int OperatorUserID { get; set; }
        public string Operator { get; set; }
        public int CheckUserID { get; set; }
        public string CheckMan { get; set; }
        public string CheckRemark { get; set; }
        public string CheckDate { get; set; }
        public string CreateDate { get; set; }
        public string ShiXiao { get; set; }
        public string ShaiXuanModel { get; set; }
        public string ShaiXuanRemark { get; set; }
        public string Remark { get; set; }
        public string BeginDate { get; set; }
        public string EndDate { get; set; }
        public int CheShiUserID { get; set; }
        public string CheShiBeginDate { get; set; }
        public string CheShiEndDate { get; set; }
        public Bill4DetailsModel()
        {
            ID = 0;
            BillProcedureID = 0;
            ProcedureID = 0;
            GongYiID = 0;
            InQty = 0;
            FanQty = 0;
            OutQty = 0;
            FailQty = 0;
            FailRemark = "";
            TaskTime = 0;
            GongYi = "";
            Operator = "";
            CheckMan = "";
            CreateDate = DateTime.Now.ToString("yyyy-MM-dd");
            CheckDate = DateTime.Now.ToString("yyyy-MM-dd");
            CheckRemark = "";
            CheckUserID = 0;
            Remark = "";
            ShiXiao = "";
            ShaiXuanModel = "";
            ShaiXuanRemark = "";
            CheShiUserID = 0;
            CheShiBeginDate = "";
            CheShiEndDate = "";
        }
    }
    public class Bill5IndexModel
    {
        public int ID { get; set; }
        public int GoodsID { get; set; }
        public string GoodsName { get; set; }
        public string GoodsCode { get; set; }
        public string GoodsModel { get; set; }
        public string GoodsNumber { get; set; }
        public int SourceGoodsID { get; set; }
        public string SourceGoodsName { get; set; }
        public string SourceGoodsCode { get; set; }
        public string SourceGoodsModel { get; set; }
        public string Code { get; set; }
        public int Qty { get; set; }
        public string Number { get; set; }
        public string DanWei { get; set; }
        public string StateName { get; set; }
        public int State { get; set; }
        public string CreateDate { get; set; }
        public int MoBanID { get; set; }
        public string DengJi { get; set; }
        public string WaiXing { get; set; }
        public Bill5IndexModel()
        {
            ID = 0;
            GoodsID = 0;
            GoodsName = "";
            GoodsModel = "";
            GoodsCode = "";
            GoodsNumber = "";
            SourceGoodsID = 0;
            SourceGoodsCode = "";
            SourceGoodsModel = "";
            SourceGoodsName = "";
            Code = "";
            Qty = 0;
            Number = "";
            DanWei = "";
            State = 0;
            StateName = "";
            CreateDate = "";
            MoBanID = 0;
            DengJi = "";
            WaiXing = "";
        }
    }
    public class Bill5DetailsModel
    {
        public int ID { get; set; }
        public int BillProcedureID { get; set; }
        public int ProcedureID { get; set; }
        public int GongYiID { get; set; }
        public int InQty { get; set; }
        public int FanQty { get; set; }
        public int OutQty { get; set; }
        public int FailQty { get; set; }
        public string FailRemark { get; set; }
        public int TaskTime { get; set; }
        public string GongYi { get; set; }
        public int OperatorUserID { get; set; }
        public string Operator { get; set; }
        public int CheckUserID { get; set; }
        public string CheckMan { get; set; }
        public string CheckRemark { get; set; }
        public string CheckDate { get; set; }
        public string CreateDate { get; set; }
        public string BiaoZhun { get; set; }
        public string JieGuo { get; set; }
        public string Remark { get; set; }
        public string BeginDate { get; set; }
        public string EndDate { get; set; }
        public Bill5DetailsModel()
        {
            ID = 0;
            BillProcedureID = 0;
            ProcedureID = 0;
            GongYiID = 0;
            InQty = 0;
            FanQty = 0;
            OutQty = 0;
            FailQty = 0;
            FailRemark = "";
            TaskTime = 0;
            GongYi = "";
            Operator = "";
            CheckMan = "";
            CreateDate = DateTime.Now.ToString("yyyy-MM-dd");
            CheckDate = DateTime.Now.ToString("yyyy-MM-dd");
            CheckRemark = "";
            CheckUserID = 0;
            Remark = "";
            BiaoZhun = "";
            JieGuo = "";
        }
    }
    public class Bill6IndexModel
    {
        public int ID { get; set; }
        public int GoodsID { get; set; }
        public string GoodsName { get; set; }
        public string GoodsCode { get; set; }
        public string GoodsModel { get; set; }
        public int SourceGoodsID { get; set; }
        public string SourceGoodsName { get; set; }
        public string SourceGoodsCode { get; set; }
        public string SourceGoodsModel { get; set; }
        public string Code { get; set; }
        public decimal Qty { get; set; }
        public string Number { get; set; }
        public string DengJi { get; set; }
        public string WaiXing { get; set; }
        public string BiaoZhun { get; set; }
        public string StateName { get; set; }
        public int State { get; set; }
        public string CreateDate { get; set; }
        public int MoBanID { get; set; }
        public string XuFangDaiHao { get; set; }
        public string JiHuaHao { get; set; }
        public string HeTongCode { get; set; }
        public decimal HeTongCount { get; set; }
        public string JiaoFuDate { get; set; }
        public decimal JiaoFuQty { get; set; }
        public string JiaoFuModel { get; set; }
        public decimal FailQty { get; set; }
        public string GuanKe { get; set; }
        public string HanLiao { get; set; }
        public string JiaoTi { get; set; }
        public string QiTa { get; set; }
        public string NeiYinXian { get; set; }
        public int JiHuaOrderID { get; set; }
        public string JiHuaOrderCode { get; set; }
        public string GuiFanHao { get; set; }
        public string JianZhiYanShou { get; set; }
        public string WenJianBianHao { get; set; }
        public string OrderDate { get; set; }
        public decimal JiHuaQty { get; set; }

        public Bill6IndexModel()
        {
            ID = 0;
            GoodsID = 0;
            GoodsName = "";
            GoodsModel = "";
            GoodsCode = "";
            SourceGoodsID = 0;
            SourceGoodsCode = "";
            SourceGoodsModel = "";
            SourceGoodsName = "";
            Code = "";
            Qty = 0;
            Number = "";
            DengJi = "";
            WaiXing = "";
            BiaoZhun = "";
            State = 0;
            StateName = "";
            CreateDate = "";
            MoBanID = 0;
            XuFangDaiHao = "";
            JiHuaHao = "";
            HeTongCode = "";
            HeTongCount = 0;
            JiaoFuDate = "";
            FailQty = 0;
            JiaoFuQty = 0;
            JiaoFuModel = "";
            GuanKe = "";
            HanLiao = "";
            JiaoTi = "";
            QiTa = "";
            NeiYinXian = "";
            JiHuaOrderID = 0;
            JiHuaOrderCode = "";
            GuiFanHao = "";
            JianZhiYanShou = "";
            WenJianBianHao = "";
            OrderDate = "";
            JiHuaQty = 0;
        }
}
    public class Bill6DetailsModel
    {
        public int ID { get; set; }
        public int BillProcedureID { get; set; }
        public int ProcedureID { get; set; }
        public int GongYiID { get; set; }
        public int InQty { get; set; }
        public int FanQty { get; set; }
        public int OutQty { get; set; }
        public int FailQty { get; set; }
        public string FailRemark { get; set; }
        public int TaskTime { get; set; }
        public string GongYi { get; set; }
        public int OperatorUserID { get; set; }
        public string Operator { get; set; }
        public int CheckUserID { get; set; }
        public string CheckMan { get; set; }
        public string CheckRemark { get; set; }
        public string CheckDate { get; set; }
        public string CreateDate { get; set; }
        public string Remark { get; set; }
        public string BeginDate { get; set; }
        public string EndDate { get; set; }
        public string SheBei { get; set; }
        public Bill6DetailsModel()
        {
            ID = 0;
            BillProcedureID = 0;
            ProcedureID = 0;
            GongYiID = 0;
            InQty = 0;
            FanQty = 0;
            OutQty = 0;
            FailQty = 0;
            FailRemark = "";
            TaskTime = 0;
            GongYi = "";
            Operator = "";
            CheckMan = "";
            CreateDate = DateTime.Now.ToString("yyyy-MM-dd");
            CheckDate = DateTime.Now.ToString("yyyy-MM-dd");
            CheckRemark = "";
            CheckUserID = 0;
            Remark = "";
            SheBei = "";
        }
    }
    public class Bill7IndexModel
    {
        public int ID { get; set; }
        public int GoodsID { get; set; }
        public string GoodsName { get; set; }
        public string GoodsCode { get; set; }
        public string GoodsModel { get; set; }
        public int SourceGoodsID { get; set; }
        public string SourceGoodsName { get; set; }
        public string SourceGoodsCode { get; set; }
        public string SourceGoodsModel { get; set; }
        public string Code { get; set; }
        public int Qty { get; set; }
        public string Number { get; set; }
        public string DengJi { get; set; }
        public string WaiXing { get; set; }
        public string ShaiXuan { get; set; }
        public string StateName { get; set; }
        public int State { get; set; }
        public string CreateDate { get; set; }
        public int MoBanID { get; set; }
        public Bill7IndexModel()
        {
            ID = 0;
            GoodsID = 0;
            GoodsName = "";
            GoodsModel = "";
            GoodsCode = "";
            SourceGoodsID = 0;
            SourceGoodsCode = "";
            SourceGoodsModel = "";
            SourceGoodsName = "";
            Code = "";
            Qty = 0;
            Number = "";
            DengJi = "";
            WaiXing = "";
            State = 0;
            StateName = "";
            CreateDate = "";
            ShaiXuan = "";
            MoBanID = 0;
        }
    }
    public class Bill7DetailsModel
    {
        public int ID { get; set; }
        public int BillProcedureID { get; set; }
        public int ProcedureID { get; set; }
        public int GongYiID { get; set; }
        public int InQty { get; set; }
        public int FanQty { get; set; }
        public int OutQty { get; set; }
        public int FailQty { get; set; }
        public string FailRemark { get; set; }
        public int TaskTime { get; set; }
        public string GongYi { get; set; }
        public int OperatorUserID { get; set; }
        public string Operator { get; set; }
        public int CheckUserID { get; set; }
        public string CheckMan { get; set; }
        public string CheckRemark { get; set; }
        public string CheckDate { get; set; }
        public string CreateDate { get; set; }
        public string ShaiXuanModel { get; set; }
        public string ShaiXuanRemark { get; set; }
        public string Remark { get; set; }
        public string BeginDate { get; set; }
        public string EndDate { get; set; }
        public Bill7DetailsModel()
        {
            ID = 0;
            BillProcedureID = 0;
            ProcedureID = 0;
            GongYiID = 0;
            InQty = 0;
            FanQty = 0;
            OutQty = 0;
            FailQty = 0;
            FailRemark = "";
            TaskTime = 0;
            GongYi = "";
            Operator = "";
            CheckMan = "";
            CreateDate = DateTime.Now.ToString("yyyy-MM-dd");
            CheckDate = DateTime.Now.ToString("yyyy-MM-dd");
            CheckRemark = "";
            CheckUserID = 0;
            Remark = "";
            ShaiXuanModel = "";
            ShaiXuanRemark = "";
            BeginDate ="1900-01-01";
            EndDate = DateTime.Now.ToString("yyyy-MM-dd");
        }
    }

    public class Bill8IndexModel
    {
        public int ID { get; set; } = 0;
        public int BillIndex4ID { get; set; } = 0;
        public int GoodsID { get; set; } = 0;
        public string GoodsName { get; set; } = "";
        public string GoodsCode { get; set; } = "";
        public string GoodsModel { get; set; } = "";
        public int SourceGoodsID { get; set; } = 0;
        public string SourceGoodsName { get; set; } = "";
        public string SourceGoodsCode { get; set; } = "";
        public string SourceGoodsModel { get; set; } = "";
        public string Code { get; set; } = "";
        public decimal Qty { get; set; } = 0;
        public string KeHuCode { get; set; } = "";
        public string HeTongHao { get; set; } = "";
        public string Number { get; set; } = "";
        public string CreateDate { get; set; } = "";
        public string DengJi { get; set; } = "";
        public string WaiXing { get; set; } = "";
        public string SourceWaiXing { get; set; } = "";
        public int MoBanID { get; set; } = 0;
        public int State { get; set; } = 0;
        public string ChengRate { get; set; } = "";
        public string SourceCode { get; set; } = "";
        public string SourceDengJi { get; set; } = "";
        public string NewName { get; set; } = "";
    }
    public class Bill8DetailsModel
    {
        public int ID { get; set; }
        public int BillProcedureID { get; set; }
        public int ProcedureID { get; set; }
        public int GongYiID { get; set; }
        public int InQty { get; set; }
        public int FanQty { get; set; }
        public int OutQty { get; set; }
        public int FailQty { get; set; }
        public string FailRemark { get; set; }
        public int TaskTime { get; set; }
        public string GongYi { get; set; }
        public int OperatorUserID { get; set; }
        public string Operator { get; set; }
        public int CheckUserID { get; set; }
        public string CheckMan { get; set; }
        public string CreateDate { get; set; }
        public string WenDu { get; set; }
        public string ShiDu { get; set; }
        public string Remark { get; set; }
        public string BeginDate { get; set; }
        public string EndDate { get; set; }
        public string ShiXiao { get; set; } = "";
        public string ShaiXuanModel { get; set; } = "";
        public string ShaiXuanRemark { get; set; } = "";
        public Bill8DetailsModel()
        {
            ID = 0;
            BillProcedureID = 0;
            ProcedureID = 0;
            GongYiID = 0;
            InQty = 0;
            FanQty = 0;
            OutQty = 0;
            FailQty = 0;
            FailRemark = "";
            TaskTime = 0;
            GongYi = "";
            Operator = "";
            CheckMan = "";
            CreateDate = DateTime.Now.ToString("yyyy-MM-dd");
            WenDu = "";
            ShiDu = "";
            Remark = "";
        }
    }
    public class Bill9IndexModel
    {
        public int ID { get; set; } = 0;
        public int BillIndex7ID { get; set; } = 0;
        public int GoodsID { get; set; } = 0;
        public string GoodsName { get; set; } = "";
        public string GoodsCode { get; set; } = "";
        public string GoodsModel { get; set; } = "";
        public int SourceGoodsID { get; set; } = 0;
        public string SourceGoodsName { get; set; } = "";
        public string SourceGoodsCode { get; set; } = "";
        public string SourceGoodsModel { get; set; } = "";
        public string Code { get; set; } = "";
        public decimal Qty { get; set; } = 0;
        public string KeHuCode { get; set; } = "";
        public string HeTongHao { get; set; } = "";
        public string Number { get; set; } = "";
        public string CreateDate { get; set; } = "";
        public string DengJi { get; set; } = "";
        public string WaiXing { get; set; } = "";
        public string SourceWaiXing { get; set; } = "";
        public int MoBanID { get; set; } = 0;
        public int State { get; set; } = 0;
        public string ChengRate { get; set; } = "";
        public string SourceCode { get; set; } = "";
        public string SourceDengJi { get; set; } = "";
        public string NewName { get; set; } = "";
    }
    public class Bill9DetailsModel
    {
        public int ID { get; set; }
        public int BillProcedureID { get; set; }
        public int ProcedureID { get; set; }
        public int GongYiID { get; set; }
        public int InQty { get; set; }
        public int FanQty { get; set; }
        public int OutQty { get; set; }
        public int FailQty { get; set; }
        public string FailRemark { get; set; }
        public int TaskTime { get; set; }
        public string GongYi { get; set; }
        public int OperatorUserID { get; set; }
        public string Operator { get; set; }
        public int CheckUserID { get; set; }
        public string CheckMan { get; set; }
        public string CreateDate { get; set; }
        public string WenDu { get; set; }
        public string ShiDu { get; set; }
        public string Remark { get; set; }
        public string BeginDate { get; set; }
        public string EndDate { get; set; }
        public string ShiXiao { get; set; } = "";
        public string ShaiXuanModel { get; set; } = "";
        public string ShaiXuanRemark { get; set; } = "";
        public Bill9DetailsModel()
        {
            ID = 0;
            BillProcedureID = 0;
            ProcedureID = 0;
            GongYiID = 0;
            InQty = 0;
            FanQty = 0;
            OutQty = 0;
            FailQty = 0;
            FailRemark = "";
            TaskTime = 0;
            GongYi = "";
            Operator = "";
            CheckMan = "";
            CreateDate = DateTime.Now.ToString("yyyy-MM-dd");
            WenDu = "";
            ShiDu = "";
            Remark = "";
        }
    }
    public class MoveBillMode
    {
        public int ID { get; set; }
        public int InBillNameID { get; set; }
        public string InBillName { get; set; }
        public int OutBillNameID { get; set; }
        public string OutBillName { get; set; }
        public int InUserID { get; set; }
        public int OutUserID { get; set; }
        public string InUserName { get; set; }
        public string OutUserName { get; set; }
        public int Qty { get; set; }
        public int GoodsID { get; set; }
        public string GoodsName { get; set; }
        public string GoodsCode { get; set; }
        public string GoodsModel { get; set; }
        public string WaiXing { get; set; }
        public string BillCode { get; set; }
        public string Remark { get; set; }
    }

    public class JiaoFuModel
    {
        public int ID { get; set; }
        public int BillNameID { get; set; }
        public int IndexID { get; set; }
        public decimal Qty { get; set; }
        public decimal HQty { get; set; }
        public string Number { get; set; }
        public string Remark { get; set; }
        public string CreateTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd");
    }

    public class BOMDetailsEdit
    {
        public int ID { get; set; }
        public int MainGoodsID { get; set; }
        public int SourceGoodsID { get; set; }
        public string SourceGoodsName { get; set; }
        public string SourceGoodsModel { get; set; }
        public int Qty { get; set; }
        public int Type { get; set; }
    }
    public class BillBOMDetailsEdit
    {
        public int ID { get; set; }
        public int BillID { get; set; }
        public int SourceGoodsID { get; set; }
        public string SourceGoodsName { get; set; }
        public string SourceGoodsModel { get; set; }
        public int Qty { get; set; }
        public int LingQty { get; set; }
        public int Type { get; set; }
        public string HuoYuanHao { get; set; }
        public string JianYanPiHao { get; set; }
        public string ZhiZhaoChangShang { get; set; }
        public string XinPianMianJi { get; set; }
        public string ZhengMianJinShu { get; set; }
        public string BeiMianJinShu { get; set; }
        public BillBOMDetailsEdit()
        {
            SourceGoodsName = "";
            SourceGoodsModel = "";
            HuoYuanHao = "";
            JianYanPiHao = "";
            ZhiZhaoChangShang = "";
            XinPianMianJi = "";
            ZhengMianJinShu = "";
            BeiMianJinShu = "";
        }
    }
    public class JiHuaOrderModel
    {
        public int ID { get; set; } = 0;
        public int BillNameID { get; set; } = 0;
        public string Code { get; set; } = "";
        public int GoodsID { get; set; } = 0;
        public string GoodsName { get; set; } = "";
        public string GoodsModel { get; set; } = "";
        public string GoodsCode { get; set; } = "";
        public string Number { get; set; } = "";
        public string HeTongCode { get; set; } = "";
        public string OrderDate { get; set; } = "";
        public string XuFangDaiHao { get; set; } = "";
        public string DengJi { get; set; } = "";
        public string WaiXing { get; set; } = "";
        public decimal HeTongQty { get; set; } = 0;
        public decimal JiHuaQty { get; set; } = 0;
        public string JiaoFuDate { get; set; } = "";
        public string GuiFanHao { get; set; } = "";
        public string JianZhiYanShou { get; set; } = "";
        public string WenJianBianHao { get; set; } = "";
        public string QiTa { get; set; } = "";
        public int IsDelete { get; set; } = 0;
        public int ZhuoGoodsID { get; set; } = 0;
        public string ZhuoGoodsName { get; set; } = "";
        public string ZhuoGoodsModel { get; set; } = "";
        public string ZhuoGoodsCode { get; set; } = "";
        public int ZhuoQty { get; set; }
        public int ZhuoLingQty { get; set; }
        public int ZhuoType { get; set; }
        public string ZhuoHuoYuanHao { get; set; }
        public string ZhuoJianYanPiHao { get; set; }
        public string ZhuoZhiZhaoChangShang { get; set; }
        public string ZhuoXinPianMianJi { get; set; }
        public string ZhuoZhengMianJinShu { get; set; }
        public string ZhuoBeiMianJinShu { get; set; }

        public int MaoGoodsID { get; set; } = 0;
        public string MaoGoodsName { get; set; } = "";
        public string MaoGoodsModel { get; set; } = "";
        public string MaoGoodsCode { get; set; } = "";
        public int MaoQty { get; set; }
        public int MaoLingQty { get; set; }
        public int MaoType { get; set; }
        public string MaoHuoYuanHao { get; set; }
        public string MaoJianYanPiHao { get; set; }
        public string MaoZhiZhaoChangShang { get; set; }
        public string MaoXinPianMianJi { get; set; }
        public string MaoZhengMianJinShu { get; set; }
        public string MaoBeiMianJinShu { get; set; }

        public int Xin1GoodsID { get; set; } = 0;
        public string Xin1GoodsName { get; set; } = "";
        public string Xin1GoodsModel { get; set; } = "";
        public string Xin1GoodsCode { get; set; } = "";
        public int Xin1Qty { get; set; }
        public int Xin1LingQty { get; set; }
        public int Xin1Type { get; set; }
        public string Xin1HuoYuanHao { get; set; }
        public string Xin1JianYanPiHao { get; set; }
        public string Xin1ZhiZhaoChangShang { get; set; }
        public string Xin1XinPianMianJi { get; set; }
        public string Xin1ZhengMianJinShu { get; set; }
        public string Xin1BeiMianJinShu { get; set; }

        public int Xin2GoodsID { get; set; } = 0;
        public string Xin2GoodsName { get; set; } = "";
        public string Xin2GoodsModel { get; set; } = "";
        public string Xin2GoodsCode { get; set; } = "";
        public int Xin2Qty { get; set; }
        public int Xin2LingQty { get; set; }
        public int Xin2Type { get; set; }
        public string Xin2HuoYuanHao { get; set; }
        public string Xin2JianYanPiHao { get; set; }
        public string Xin2ZhiZhaoChangShang { get; set; }
        public string Xin2XinPianMianJi { get; set; }
        public string Xin2ZhengMianJinShu { get; set; }
        public string Xin2BeiMianJinShu { get; set; }


        public int Xin3GoodsID { get; set; } = 0;
        public string Xin3GoodsName { get; set; } = "";
        public string Xin3GoodsModel { get; set; } = "";
        public string Xin3GoodsCode { get; set; } = "";
        public int Xin3Qty { get; set; }
        public int Xin3LingQty { get; set; }
        public int Xin3Type { get; set; }
        public string Xin3HuoYuanHao { get; set; }
        public string Xin3JianYanPiHao { get; set; }
        public string Xin3ZhiZhaoChangShang { get; set; }
        public string Xin3XinPianMianJi { get; set; }
        public string Xin3ZhengMianJinShu { get; set; }
        public string Xin3BeiMianJinShu { get; set; }


        public int Xin4GoodsID { get; set; } = 0;
        public string Xin4GoodsName { get; set; } = "";
        public string Xin4GoodsModel { get; set; } = "";
        public string Xin4GoodsCode { get; set; } = "";
        public int Xin4Qty { get; set; }
        public int Xin4LingQty { get; set; }
        public int Xin4Type { get; set; }
        public string Xin4HuoYuanHao { get; set; }
        public string Xin4JianYanPiHao { get; set; }
        public string Xin4ZhiZhaoChangShang { get; set; }
        public string Xin4XinPianMianJi { get; set; }
        public string Xin4ZhengMianJinShu { get; set; }
        public string Xin4BeiMianJinShu { get; set; }

        public int Xin5GoodsID { get; set; } = 0;
        public string Xin5GoodsName { get; set; } = "";
        public string Xin5GoodsModel { get; set; } = "";
        public string Xin5GoodsCode { get; set; } = "";
        public int Xin5Qty { get; set; }
        public int Xin5LingQty { get; set; }
        public int Xin5Type { get; set; }
        public string Xin5HuoYuanHao { get; set; }
        public string Xin5JianYanPiHao { get; set; }
        public string Xin5ZhiZhaoChangShang { get; set; }
        public string Xin5XinPianMianJi { get; set; }
        public string Xin5ZhengMianJinShu { get; set; }
        public string Xin5BeiMianJinShu { get; set; }

        public int Xin6GoodsID { get; set; } = 0;
        public string Xin6GoodsName { get; set; } = "";
        public string Xin6GoodsModel { get; set; } = "";
        public string Xin6GoodsCode { get; set; } = "";
        public int Xin6Qty { get; set; }
        public int Xin6LingQty { get; set; }
        public int Xin6Type { get; set; }
        public string Xin6HuoYuanHao { get; set; }
        public string Xin6JianYanPiHao { get; set; }
        public string Xin6ZhiZhaoChangShang { get; set; }
        public string Xin6XinPianMianJi { get; set; }
        public string Xin6ZhengMianJinShu { get; set; }
        public string Xin6BeiMianJinShu { get; set; }


    }

    public class BillProDetailsModel
    {
        public int ID { get; set; } = 0;
        public int BillNameID { get; set; } = 0;
        public int BillProID { get; set; } = 0;
        public string Field1 { get; set; } = "";
        public string Field2 { get; set; } = "";
        public string Field3 { get; set; } = "";
        public string Field4 { get; set; } = "";
        public string Field5 { get; set; } = "";
        public string Field6 { get; set; } = "";
        public string Field7 { get; set; } = "";
        public string Field8 { get; set; } = "";
        public string Field9 { get; set; } = "";
        public string Field10 { get; set; } = "";
        public string Field11 { get; set; } = "";
        public string Field12 { get; set; } = "";
        public string Field13 { get; set; } = "";
        public string Field14 { get; set; } = "";
        public string Field15 { get; set; } = "";
        public string Field16 { get; set; } = "";
        public string Field17 { get; set; } = "";
        public string Field18 { get; set; } = "";
        public string Field19 { get; set; } = "";
        public string Field20 { get; set; } = "";
        public string Field21 { get; set; } = "";
        public string Field22 { get; set; } = "";
        public string Field23 { get; set; } = "";
        public string Field24 { get; set; } = "";
        public string Field25 { get; set; } = "";
        public string Field26 { get; set; } = "";
        public string Field27 { get; set; } = "";
        public string Field28 { get; set; } = "";
        public string Field29 { get; set; } = "";
        public string Field30 { get; set; } = "";
        public string Field31 { get; set; } = "";
        public string Field32 { get; set; } = "";
        public string Field33 { get; set; } = "";
        public string Field34 { get; set; } = "";
        public string Field35 { get; set; } = "";
        public string Field36 { get; set; } = "";
        public string Field37 { get; set; } = "";
        public string Field38 { get; set; } = "";
        public string Field39 { get; set; } = "";
        public string Field40 { get; set; } = "";
        public string Field41 { get; set; } = "";
        public string Field42 { get; set; } = "";
        public string Field43 { get; set; } = "";
        public string Field44 { get; set; } = "";
        public string Field45 { get; set; } = "";
        public string Field46 { get; set; } = "";
        public string Field47 { get; set; } = "";
        public string Field48 { get; set; } = "";
        public string Field49 { get; set; } = "";
        public string Field50 { get; set; } = "";
    }
}
